package com.sztz.mapstruct.H自定义映射方法;

import cn.hutool.core.date.DateUtil;

import java.util.Date;

/**
 * Date asString
 *
 * @author yyf
 * @email yeyafei@hotmail.com
 */
public class DateMapper {

    public String asString(Date date) {
        return DateUtil.formatDate(date);
    }

}
